<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>tango.util.collection.impl.AbstractIterator</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "tango.util.collection.impl.AbstractIterator";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/tango.util.collection.impl.AbstractIterator.html" class="symbol">tango.util.collection.impl.AbstractIterator</a></h1>
  
<dl>
<dt class="decl">class <a class="symbol _class" name="AbstractIterator" href="./htmlsrc/tango.util.collection.impl.AbstractIterator.html#L35" kind="class" beg="35" end="110">AbstractIterator</a><span class="tparams">(T)</span> : GuardIterator!(T); <a title="Permalink to this symbol" href="#AbstractIterator" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.AbstractIterator.html#L35">#</a></dt>
<dd class="ddef">
<div class="summary">A convenient base class for implementations of GuardIterator</div>
<p class="sec_header">Author:</p>Doug Lea
 @version 0.93
<p class="bl"/>
 <P> For an introduction to this package see <A HREF="index.html"> Overview </A>.
<dl>
<dt class="decl">View!(T) <a class="symbol _variable" name="AbstractIterator.view" href="./htmlsrc/tango.util.collection.impl.AbstractIterator.html#L41" kind="variable" beg="41" end="41">view</a>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#AbstractIterator.view" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.AbstractIterator.html#L41">#</a></dt>
<dd class="ddef">
<div class="summary">The collection being enumerated</div></dd>
<dt class="decl">uint <a class="symbol _variable" name="AbstractIterator.mutation" href="./htmlsrc/tango.util.collection.impl.AbstractIterator.html#L47" kind="variable" beg="47" end="47">mutation</a>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#AbstractIterator.mutation" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.AbstractIterator.html#L47">#</a></dt>
<dd class="ddef">
<div class="summary">The version number of the collection we got upon construction</div></dd>
<dt class="decl">uint <a class="symbol _variable" name="AbstractIterator.togo" href="./htmlsrc/tango.util.collection.impl.AbstractIterator.html#L54" kind="variable" beg="54" end="54">togo</a>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#AbstractIterator.togo" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.AbstractIterator.html#L54">#</a></dt>
<dd class="ddef">
<div class="summary">The number of elements we think we have left.
 Initialized to view.size() upon construction</div></dd>
<dt class="decl">bool <a class="symbol _function" name="AbstractIterator.corrupted" href="./htmlsrc/tango.util.collection.impl.AbstractIterator.html#L70" kind="function" beg="70" end="73">corrupted</a><span class="params">()</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#AbstractIterator.corrupted" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.AbstractIterator.html#L70">#</a></dt>
<dd class="ddef">
<div class="summary">Implements tango.util.collection.impl.Collection.CollectionIterator.corrupted.
 Claim corruption if version numbers differ</div>
<p class="sec_header">See Also:</p>tango.util.collection.impl.Collection.CollectionIterator.corrupted</dd>
<dt class="decl">uint <a class="symbol _function" name="AbstractIterator.remaining" href="./htmlsrc/tango.util.collection.impl.AbstractIterator.html#L79" kind="function" beg="79" end="82">remaining</a><span class="params">()</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#AbstractIterator.remaining" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.AbstractIterator.html#L79">#</a></dt>
<dd class="ddef">
<div class="summary">Implements tango.util.collection.impl.Collection.CollectionIterator.numberOfRemaingingElements.</div>
<p class="sec_header">See Also:</p>tango.util.collection.impl.Collection.CollectionIterator.remaining</dd>
<dt class="decl">bool <a class="symbol _function" name="AbstractIterator.more" href="./htmlsrc/tango.util.collection.impl.AbstractIterator.html#L89" kind="function" beg="89" end="92">more</a><span class="params">()</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#AbstractIterator.more" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.AbstractIterator.html#L89">#</a></dt>
<dd class="ddef">
<div class="summary">Implements tango.util.collection.model.Iterator.more.
 Return true if remaining &gt; 0 and not corrupted</div>
<p class="sec_header">See Also:</p>tango.util.collection.model.Iterator.more</dd>
<dt class="decl">void <a class="symbol _function" name="AbstractIterator.decRemaining" href="./htmlsrc/tango.util.collection.impl.AbstractIterator.html#L100" kind="function" beg="100" end="109">decRemaining</a><span class="params">()</span>; <span class="attrs">[<span class="prot">protected</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#AbstractIterator.decRemaining" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.AbstractIterator.html#L100">#</a></dt>
<dd class="ddef">
<div class="summary">Subclass utility. 
 Tries to decrement togo, raising exceptions
 if it is already zero or if corrupted()
 Always call as the first line of get.</div></dd></dl></dd></dl>
</div>
<div id="footer">
  <p></p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:04:10 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>